package com.zxh.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxh.mall.common.utils.PageUtils;
import com.zxh.mall.product.entity.AttrGroupEntity;
import com.zxh.mall.product.vo.AttrGroupWithAttrsVo;
import com.zxh.mall.product.vo.SpuItemGroupAttrVO;
import com.zxh.mall.product.vo.SpuItemVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zxh
 * @email exc2131413@126.com
 * @date 2024-04-03 13:18:41
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catLogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemGroupAttrVO> getAttrGroupWithSpuId(Long spuId, Long catalogId);
}

